package org.huang.user.api;


import org.huang.exception.BizException;
import org.huang.user.entity.User;

/**
 * @描述：UserService类描述
 * @作者: huanganwei
 * @创建时间: 2018-08-08 17:30:20
 * @版本: 1.0
 */
public interface UserService {

    boolean addUser(User user);

    User getUserById(Integer id);

    User findUserByUsername(String username);

    boolean login(String username,String password) throws BizException;
}
